// 按钮颜色
.ant-btn-primary {
    background: #007AFF;
    border-color: #007AFF;

    &.ant-btn:hover,
    &.ant-btn:focus {
        color: #fff;
        background: #007AFF;
        border-color: #007AFF;
        ;
        opacity: 0.9;
    }
}

.ant-btn-background-ghost.ant-btn-primary {

    &.ant-btn:hover,
    &.ant-btn:focus {
        color: #007AFF;
    }
}

// 表格行高
.ant-table-tbody>tr {
    height: 32px;
}

.ant-table-thead>tr {
    height: 45px;
}

// 解决table弹窗定位显示操作高度问题
.common-table-fixed-operation .ant-table-thead>tr {
    height: 45px !important;
}

.common-table-fixed-operation .ant-table-tbody>tr {
    height: 32px !important;
}

// 全局列头渐变UI
.ant-table-content .ant-table-thead tr th {
    padding: 0 10px !important;
    background: linear-gradient(0deg, rgba(237, 237, 237, 1), rgba(255, 255, 255, 1));
}

// 表头右侧定位层级问题
.ant-table-fixed-right {
    z-index: 1;
}

// 公共弹框样式
.ant-modal-header {
    border-top: 5px solid #F6A724;
    padding: 10px 24px;
}

.ant-modal-footer {
    text-align: center;
}

.ant-btn-primary {
    background-color: #007AFF;

    //   border-color:#007AFF; 
    &.ant-btn:hover,
    &.ant-btn:focus {
        color: #fff;
        background: #007AFF;
    }
}

.common-table-empty .ant-empty-normal {
    display: none;
}

// 输入框disabled样式
.ant-input[disabled] {
    color: rgba(0, 0, 0, 0.65) !important;
}

.ant-select-disabled .ant-select-selection {
    color: rgba(0, 0, 0, 0.65) !important;
}

// checkBox全局边框修改
.ant-checkbox-inner {
    border: 1px solid #666 !important;
}

// 确认弹窗添加取消图标样式
.common-modal-confirm-close {
    cursor: pointer;
    position: absolute;
    color: #00000073;
    top: 16px;
    right: 16px;
}

// 动态组件
.dynamic-component {
    .common-query-header {
        padding-left: 0;
    }

    .dynamic-component-form {
        height: 100%;

        .ant-form-item-label,
        .ant-form-item-control {
            line-height: 32px;
        }

        .ant-row.ant-form-item {
            height: 32px;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
        }
    }
}